﻿#pragma once


// DensitySlicingAttributeDialog 对话框

class DensitySlicingAttributeDialog : public CDialogEx
{
	DECLARE_DYNAMIC(DensitySlicingAttributeDialog)

public:
	DensitySlicingAttributeDialog(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~DensitySlicingAttributeDialog();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_DSAttribute
	};
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	CListCtrl m_List;
	afx_msg void OnBnClickedButtonShow();
	afx_msg void OnBnClickedButtonPutcolor();
	afx_msg void OnPaint();
	CListCtrl m_ListCtrl;
	void ReadColor(CString path);
	void GetMinMax(int flags);
	afx_msg void OnCbnSelchangeComboBandchoice();
	CComboBox m_cbselect;
	void DivisionColorarry(int n);
	void DensitySlicing(int flags);

};
